package com.ly.user_system.service;

import com.ly.user_system.base.BaseService;
import com.ly.user_system.detail.BaseSysUserDetail;
import com.ly.user_system.dto.BaseSysUserDTO;
import com.ly.user_system.dto.UserLoginDto;
import com.ly.user_system.entity.BaseSysUser;
import com.ly.user_system.req.BaseSysUserQuery;
import com.ly.user_system.req.UserLoginReq;
import org.springframework.web.bind.annotation.RequestBody;


public interface BaseSysUserService extends BaseService<BaseSysUser,BaseSysUserDTO,BaseSysUserDetail,BaseSysUserQuery> {

    UserLoginDto login(@RequestBody UserLoginReq req);

    BaseSysUserDetail getSelfDetail();
}